package com.miao.util.http;

import org.codehaus.jackson.map.DeserializationConfig;
import org.codehaus.jackson.map.ObjectMapper;
import org.codehaus.jackson.map.SerializationConfig;

/**
 * Created by miao on 2015/4/10.
 */
public class MObjectMapper extends ObjectMapper {
    public MObjectMapper() {
        configure(DeserializationConfig.Feature.FAIL_ON_UNKNOWN_PROPERTIES, false);
        configure(SerializationConfig.Feature.INDENT_OUTPUT, true);
    }
}
